package com.armed.searchs;

import java.util.Date;

/**
 * Class DateFilter
 *
 *
 * @author init() software
 * @version 10/03/2008 
 */
public class DateFilter extends AbstractFilter
{
    /** Constructor of DateFilter
     * @param field
     * @param val
     * @param comp 
     */
    public DateFilter(String field,Date val, String comp)
    {
        super(field, val, comp);
    }

    @Override
    public String getClause(String tableAlias)
    {
        return tableAlias + "." + ConvertClauses.convertField(field) + " " + ConvertClauses.convertComparator(comparator);
    }
}
